<?php


class Framework_DB_Table_GalleryFolder extends Framework_DB_Table_Common {

	public $tableName = 'GalleryFolder';
	
	public function __construct($db) {
   		
   		// Columns
   		$this->col = array(
	   		// Primary Key 1, Foreign key
	        'idOwner'     => array(
	              'type'  => 'integer',
	           'require'  => true
	        ),
	        // Primary Key 2
	        'idFolder'    => array(
	              'type'  => 'integer',
	           'require'  => true
	        ),
	        
	        'folderPerm'  => array(
	        	 'type'   => 'integer'
	        ),
	      
	        'folderName'  => array(
	        	 'type'   => 'varchar',
	        	 'size'	  => 100
	        )
	        
	    );
	    
	    // Indexes
	    $this->idx = array(
	    	'idOwneridFolder' => array(
	    		'cols' => array('idOwner', 'idFolder'), 
	    		'type' => 'primary'
			)
	    );
   		
   		parent::__construct($db);
	}
	
	
}

?>